<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.min.css">
		<link rel="stylesheet" href="../css/mui2.css">
		<link rel="stylesheet" href="../css/pravate/my.css">
		<script src="../js/mui.min.js"></script>
		<script type="text/javascript" src="../js/jquery-2.1.0.js"></script>
		<script type="text/javascript" src="../js/mobile-detect.min.js" ></script>
		<script type="text/javascript" src="../js/config.js"></script>
		<script type="text/javascript" src="../js/common.js"></script>

	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<h1 class="mui-title">我的</h1>
		</header>

		<div id="div1">
			<div id="div1_zuo">
				<img src="../img/iconfont-5.png" style="width: 90px;" />
			</div>
			<div id="div1_you">
				<span class="tzName">天择可付</span><br /><br />
				<span class="lanzi" id="userId" style="display:block;width: 100%; height: 25px;"></span><br />
			</div>
		</div>
		<div id="div2">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell">
					<a class="appPhone">客服热线<span class="zi" style="margin-right: 0;">暂无</span></a>
				</li>
			</ul>
		</div>
		<div id="div3">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right" href="JavaScript:open_win();">设置</a>
				</li>
			</ul>
		</div>
		<script type="text/javascript">
			mui.init();

			function open_win() {
				mui.openWindow({
					url: 'setting.html',
					id: '1',
					styles: {
						top: 0, //新页面顶部位置
						bottom: 0, //新页面底部位置
					},
					createNew: false, //是否重复创建同样id的webview，默认为false:不重复创建，直接显示
					show: {
						event: 'titleUpdate', //页面显示时机，默认为titleUpdate事件时显示
						extras: {} //窗口动画是否使用图片加速
					},
					waiting: {
						autoShow: true, //自动显示等待框，默认为true
					}
				})
			}
			mui.plusReady(function() {
				muiBack();
				if (localStorage.getItem('userPhone')) {
					$('#userId').html(localStorage.getItem('userPhone'));
				}
				if (localStorage.getItem('appPhone')) {
					$('.appPhone span').html(localStorage.getItem('appPhone'));
				}
				if (localStorage.getItem('storeName')) {
					$('.tzName').html(localStorage.getItem('storeName'));
				}
// 				$('.appPhone span').html(localStorage.getItem('appPhone'));
// 				$('#userId').html(localStorage.getItem('userPhone'));
				console.log(localStorage.getItem('userPhone'));
			});
		</script>
	</body>

</html>